/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 马拉圈
 * Date: 2023-03-27
 * Time: 16:10
 */
public class Test {
    public static void main(String[] args) {
        int[] arr = {11, 55, 3, 6, 7, 12, 5, 6, 2, 47, 4, 5, 6, 8, 9, 9, 1, 0};
        for (int i = 0; i < arr.length; i++) {
            int value = arr[i];
            Thread t = new Thread(() -> {
                try {
                    Thread.sleep(value);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
                System.out.print(value + " ");
            });
            t.start();
        }
    }
}
